package com.xgzit.xgzmall.auth;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

/**
 * @author xushuai
 */
@EnableRedisHttpSession  // 整合redis 作为spring-session存储
@EnableFeignClients
@EnableDiscoveryClient
@SpringBootApplication
public class XgzmallAuthServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(XgzmallAuthServerApplication.class, args);
    }

}
